package com.newly.common.base.entity.sys.database.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: newly-parent
 * @remark: 表字段VO
 * @author: guan
 * @create: 2021-12-02 09:27
 */
@Data
public class ColumnVo {
    /**
     * 目录
     */
    @ApiModelProperty("目录")
    private String tableCatalog;

    /**
     * 是否为null
     */
    @ApiModelProperty("是否为null")
    private String isNullable;

    /**
     * 表名
     */
    @ApiModelProperty("表名")
    private String tableName;

    /**
     * 列名
     */
    @ApiModelProperty("列名")
    private String columnName;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private String columnKey;


    /**
     * 表名
     */
    @ApiModelProperty("数据库名")
    private String tableSchema;

    /**
     * 补充说明
     */
    @ApiModelProperty("补充说明")
    private String extra;

    private int numericPrecision;

    private String privileges;

    private String columnComment;

    private int numericScale;

    private String columnType;

    private String generationExpression;

    private int ordinalPosition;

    private String dataType;
}
